#ifndef VIDEOVIEW_H
#define VIDEOVIEW_H


#include <QObject>
#include <QSettings>
#include <QProgressBar>
#include "workspace.h"
#include "ui_mainwindow.h"
#include "videothread.h"

class VideoView : public QObject
{
    Q_OBJECT
private:
    Ui::MainWindow *ui;
    QWidget *qWidge;
    VideoThread videoThread;
public:
    void init(QWidget *qWidge,Ui::MainWindow *ui);
    VideoView();

private slots:
    void videoStatusSlots(int staus,QString str);
    void on_pushButtonOpenVideoFile_clicked();
    void on_pushButtonVideoStart_clicked();
};

#endif // VIDEOVIEW_H
